﻿using System;
using System.Collections.Generic;

namespace CoreShop.Model
{

    /// <summary>
    /// 商户实体类
    /// </summary>
    public class TenantReturnModel : ApiReturnModel
    {
        public new List<TenantModel> data { get; set; }
    }

    /// <summary>
    /// 商户实体类
    /// </summary>
    public class TenantModel
    {
        /// <summary>
        /// 租户ID
        /// </summary>
        public int id { get; set; }

        /// <summary>
        /// 租户名称
        /// </summary>
        public string tenantName { get; set; }

        /// <summary>
        /// 用户ID
        /// </summary>
        public int? userId { get; set; }

        /// <summary>
        /// 用户名
        /// </summary>
        public string userName { get; set; }

        /// <summary>
        /// 用户电话
        /// </summary>
        public string userPhone { get; set; }

        /// <summary>
        /// 用户邮箱
        /// </summary>
        public string userEmail { get; set; }

        /// <summary>
        /// 密码
        /// </summary>
        public string uassword { get; set; }

        /// <summary>
        /// 代理商ID
        /// </summary>
        public string agentId { get; set; }

        /// <summary>
        /// 部门ID
        /// </summary>
        public int? deptid { get; set; }

        /// <summary>
        /// 租户套餐ID
        /// </summary>
        public string uenantPackage { get; set; }

        /// <summary>
        /// 租户有效期
        /// </summary>
        public DateTime? uenantTime { get; set; }

        /// <summary>
        /// 状态：0-禁用，1-启用，2-待审核
        /// </summary>
        public int status { get; set; }

        /// <summary>
        /// 删除标志：0-未删除，1-已删除
        /// </summary>
        public string delFlag { get; set; }

        /// <summary>
        /// 父租户ID
        /// </summary>
        public int? parentTenantId { get; set; }

        /// <summary>
        /// 属性ID
        /// </summary>
        public string attrId { get; set; }

        /// <summary>
        /// 行业ID
        /// </summary>
        public int? industryId { get; set; }

        /// <summary>
        /// 来源类型：0-未知，1-注册，2-导入，3-后台添加
        /// </summary>
        public int sourceType { get; set; }

        /// <summary>
        /// 激活码
        /// </summary>
        public string ActivateCode { get; set; }

        /// <summary>
        /// 初始密码
        /// </summary>
        public string InitPassword { get; set; }

        /// <summary>
        /// 分支机构数量
        /// </summary>
        public int? BranchNum { get; set; }

        /// <summary>
        /// POS机密码
        /// </summary>
        public string PosPassword { get; set; }

        /// <summary>
        /// 系统用户信息
        /// </summary>
        public object SysUser { get; set; }

        /// <summary>
        /// 属性名称
        /// </summary>
        public string AttrName { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }

        /// <summary>
        /// 备注
        /// </summary>
        public string Remark { get; set; }
    }

        
}
